﻿using MediatR;
using Traceable.ErrorCode;

namespace Traceable.App.Application.Command.Aquaculture
{
    /// <summary>
    /// 添加公司企业信息
    /// </summary>
    public class CreateEnterpriceCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 生产批次(必填)
        /// </summary>
        public string Batch_Id { get; set; }
        /// <summary>
        /// 溯源信息类型(必填)
        /// </summary>
        public int Traceable_Id { get; set; }
        /// <summary>
        /// 养值场
        /// </summary>
        public string? Farms { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Header { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int? StockNumber { get; set; }
        /// <summary>
        /// 公司名称 
        /// </summary>
        public string? CompanyName { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? CompanyAdder { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? Setup_Time { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? CompanyDesc { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string? Permit { get; set; }
    }
}
